package com.iee.patterns.example.strategy.invoker;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *@ClassName Test
 *@Description TODO
 *@Author longxiaonan@163.com
 *@Date 2021/6/30 0030 17:37
 */
@RestController
public class TestController {

    @GetMapping("/invoker")
    public void test(){
        Invoker invoker = InvokerHolder.getInvoker((short)1, (short)1);
        invoker.invoke(null);
    }

}
